/**
 * 
 * Class represents a Song Unique ID (track_id and cd_id)
 *
 */
public class SongUID {
	private int track_id;
	private long cd_id;
	
	public SongUID() {

	}
	public SongUID(int track_id, long cd_id) {
		this.setTrack_id(track_id);
		this.setCd_id(cd_id);

	}
	public void setTrack_id(int track_id) {
		this.track_id = track_id;
	}
	public int getTrack_id() {
		return track_id;
	}
	public void setCd_id(long cd_id) {
		this.cd_id = cd_id;
	}
	public long getCd_id() {
		return cd_id;
	}
	@Override
	public String toString() {
		return "Track id: " + this.track_id + ", Disc ID: " + this.cd_id; 
	}
	
	@Override
	   public boolean equals(Object obj) {
	       if (this == obj)
	           return true;
	       if (obj == null)
	           return false;
	       if (getClass() != obj.getClass())
	           return false;
	       final SongUID other = (SongUID) obj;
	       if (this.cd_id==other.getCd_id() && this.track_id==other.getTrack_id())
	           return true;
	       return false;
	   }
	
	
}
